﻿using System;

namespace Anderson.NetLobby.MessageContent
{
    /// <summary>
    /// 客户端发送给服务器时，携带playerId = 真实playerId, roomId = 0
    /// 服务器反馈给客户端时，携带playerId = 真实playerId, roomId = 真实Id
    /// 该反馈只会反馈给创建者，但所有人（包括创建者）都会收到房间变化的信息
    /// </summary>
    [Serializable]
    public class MC_RoomCreate
    {
        public long playerId;
        public long roomId;
        public uint actionResult;//0 == failed, 1 == success, 2 == unset

        public MC_RoomCreate()
        {
            playerId = 0L;
            roomId = 0L;
            actionResult = 0;
        }
    }
}
